<?php namespace Summer\Hjd\Controllers;

use Backend\Classes\Controller;
use BackendMenu;

class Correction extends Controller
{
    public $requiredPermissions = [
        'hjd_correction'
    ];

    public function __construct()
    {
        parent::__construct();
        \BackendMenu::setContext('Winter.System', 'main-menu-item-hjd_enduser');
        \Summer\Hub\Classes\SideNavManager::setContext('Summer.Hjd', 'side-menu-item-hjd_correction');

        new \Summer\Hjd\Widgets\Correction($this,'correction');
    }

    public function index()
    {
        $this->pageTitle="资金校正";
    }
}
